package top.laoshuzi.designpatterns.base.behavior.visitor;

/**
 * 具体节点A
 */
public class ConcreteNodeA extends Node {

    @Override
    public void accept(Visitor visitor) {
        visitor.visit(this);
    }

    public void operationA() {
        System.out.println("ConcreteNodeA operationA");
    }
}
